<extend name="./Application/Common/View/block/base.php" />
<block name="header">
    <include file="./Application/Admin/View/block/easyui_header.php" />
    <link href="/extend/umeditor/themes/default/css/umeditor.min.css" type="text/css" rel="stylesheet">
    <link href="__PUBLIC__/css/Content/show.css" rel="stylesheet" type="text/css" />
</block>
<block name="bdoy">
    <body>
    <form action="" method="post" onsubmit="return $(this).form('validate');">
        <input type="hidden" name="id" value="{$item['id']}"/>
        <table cellspacing="0" width="100%" class="">
            <tr>
                <td class="label"><strong>{:LANG('pump_name')}: </strong></td>
                <td class="form-line">
                    <input value="{$station['pups_name']}" class="easyui-textbox easyui-validatebox input-text" size="20" style="height: 24px;line-height: 24px;"
                           data-options="prompt:'{:LANG('pls_input')}{:LANG('pump_number')}',required:true,validType:'length[1,50]'">
                </td>
            </tr>
            <tr>
                <td class="label"><strong>{:LANG('pump_number')}: </strong></td>
                <td class="form-line">
                    <input value="{$pump['pump_number']}" class="easyui-textbox easyui-validatebox input-text"  size="20" style="height: 24px;line-height: 24px;"
                           data-options="prompt:'{:LANG('pls_input')}{:LANG('pump_number')}',required:true,validType:'length[1,50]'">
                </td>
            </tr>
            <tr>
                <td class="label"><strong>{:LANG('device_status')}: </strong></td>
                <td class="form-line">
                    <select class="easyui-combobox" name="status"
                            data-options="prompt:'{:LANG('pls_input')}{:LANG('device_status')}',required:true">
<!--                        <option value="{$item['status']}" selected="selected">{:get_device_status($item['status'])}</option>-->
                        <option></option>
                        <volist name="statuss" id="status">
                            <option value="{$status['status']}">{$status['comment']}</option>
                        </volist>
                    </select>
                </td>
            </tr>

            <tr>
                <td class="label"><strong>{:LANG('pfa')}: </strong></td>
                <td class="form-line">
                    <input value="{$item['pump_pfa']}" class="easyui-numberbox easyui-validatebox input-text" name="pump_pfa" size="20" style="height: 24px;line-height: 24px;"
                           data-options="prompt:'{:LANG('pump_power')}{:LANG('pfa')}{:LANG('only_num')}'">
                </td>
            </tr>
            <tr>
                <td class="label"><strong>{:LANG('rta')}: </strong></td>
                <td class="form-line">
                    <input value="{$item['pump_rta']}" class="easyui-numberbox easyui-validatebox input-text" name="pump_rta" size="20" style="height: 24px;line-height: 24px;"
                           data-options="prompt:'{:LANG('pump_power')}{:LANG('rta')}{:LANG('only_num')}'">
                </td>
            </tr>
            <tr>
                <td class="label"><strong>{:LANG('lta')}: </strong></td>
                <td class="form-line">
                    <input value="{$item['pump_lta']}" class="easyui-numberbox easyui-validatebox input-text" name="pump_lta" size="20" style="height: 24px;line-height: 24px;"
                           data-options="prompt:'{:LANG('pump_power')}{:LANG('lta')}{:LANG('only_num')}'">
                </td>
            </tr>
            <tr>
                <td class="label"><strong>{:LANG('fa')}: </strong></td>
                <td class="form-line">
                    <input value="{$item['pump_fa']}" class="easyui-numberbox easyui-validatebox input-text" name="pump_fa" size="20" style="height: 24px;line-height: 24px;"
                           data-options="prompt:'{:LANG('pump_power')}{:LANG('fa')}{:LANG('only_num')}'">
                </td>
            </tr>
            <tr>
                <td class="label"><strong>{:LANG('nfa')}: </strong></td>
                <td class="form-line">
                    <input value="{$item['pump_nfa']}" class="easyui-textbox easyui-validatebox input-text" name="pump_nfa" size="20" style="height: 24px;line-height: 24px;"
                           data-options="prompt:'{:LANG('pls_input')}{:LANG('nfa')}{:LANG('only_num')}'">
                </td>
            </tr>
            <tr>
                <td class="label"><strong>{:LANG('ra')}: </strong></td>
                <td class="form-line">
                    <input value="{$item['pump_ra']}" class="easyui-textbox easyui-validatebox input-text" name="pump_ra" size="20" style="height: 24px;line-height: 24px;"
                           data-options="prompt:'{:LANG('pls_input')}{:LANG('ra')}{:LANG('only_num')}'">
                </td>
            </tr>
            <tr>
                <td class="label"><strong>{:LANG('waterdegrees')}: </strong></td>
                <td class="form-line">
                    <input value="{$item['pump_waterdegrees']}" class="easyui-textbox easyui-validatebox input-text" name="pump_waterdegrees" size="20" style="height: 24px;line-height: 24px;"
                           data-options="prompt:'{:LANG('pls_input')}{:LANG('waterdegrees')}{:LANG('only_num')}'">
                </td>
            </tr>

            <tr>
                <td class="label"></td>
                <td class="form-line">
                    <input type="submit" class="submit-button bule-button" value="{:LANG('save')}">
                    <input type="button" onclick="close_dialog()" class="submit-button" value="{:LANG('cancel')}">
                </td>
            </tr>
        </table>
    </form>
    </body>
</block>
<block name="footExtendJs">



</block>
